package com.by.query;

import com.by.common.entity.PageQuery;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel("查询部门")
@Data
public class DeptQuery {

    @ApiModelProperty(value = "部门名称")
    String name;

    @ApiModelProperty(value = "上级部门id 默认为0")
    int parentId;


}
